<template>
  <div class="page-container">
    <div class="page-container_header">
    </div>
    <slot />
  </div>
</template>

<script setup>

defineProps({
  showBack: {
    type: Boolean,
    default: false,
  },
  backTitle: {
    type: String,
    default: '',
  },
})
</script>

<style lang="scss" scoped>
.page-container {
  display: flex;
  flex-direction: column;
  overflow: auto;
  width: 100%;
  height: 100%;
  padding: 0 24px;
  padding-bottom: 16px;
  background-color: #f7f8fa;

  &_header {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    height: 54px;
  }
}
</style>
